package ycl.important.common.base.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 地区实体基类
 *
 * @author: YCL
 * @date: 2021-10-06 21:18:07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("地区实体基类")
public class BaseRegionEntity extends BaseEntity {

	private static final long serialVersionUID = 5060455139378999752L;

	@ApiModelProperty("当前的区域代码")
	private String code;

	@ApiModelProperty(value = "省份名称")
	private String name;

	@ApiModelProperty(value = "全称")
	private String fullName;

	@ApiModelProperty(value = "父级代码")
	private String parentCode;

	@ApiModelProperty("纬度")
	private BigDecimal lat;

	@ApiModelProperty("经度")
	private BigDecimal lng;
}
